package 慕课网.homework1;

public class research extends parent{
    private String efficent;
    private String problem;
    public research(){

    }
    public research(String workName,String way,String efficent,String problem){
        super(workName,way);
        this.setEfficent(efficent);
        this.setProblem(problem);
    }
    public String getProblem() {
        return problem;
    }
    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getEfficent() {
        return efficent;
    }
    public void setEfficent(String efficent) {
        this.efficent = efficent;
    }
    public String describe(){
        String str=this.getWorkName()+"类信息测试:"+this.getWorkName()+"的日报是：今天编写了"+this.getEfficent()+"行代码，目前仍然有"+this.getProblem()+"个bug没有解决";
        return str;
    }
}
